using System;

namespace SharpWind.Helpers
{
	public class Enumeration<T>
	{
		public static string[] Names
		{
			get
			{
				return Enum.GetNames( typeof( T ) );
			}
		}

		public static T[] Values
		{
			get
			{
				return (T[])Enum.GetValues( typeof( T ) );
			}
		}

		public static int Length
		{
			get
			{
				return Names.Length;
			}
		}
	}
}
